package com.itheima.service;

import com.itheima.pojo.OrderSetting;
import com.itheima.pojo.OrderSettingVO;

import java.util.List;

public interface OrderSettingService {
    /**
     * 根据年月查询预约设置数据
     * @param yearMonth
     * @return
     */
    List<OrderSettingVO> findByYearMonth(String yearMonth);

    /**
     * 根据日期修改可预约人数
     * @param orderSetting
     */
    void editNumberByOrderDate(OrderSetting orderSetting);
}
